/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pojo;

import java.sql.Timestamp;

/**
 *
 * @author NhatHuy
 */
public class GiayPOJO {
    private int maGiay;
    private String tenGiay;
    private int gioiTinh;
    private float giaBan;
    private int soLuong;
    private String hinhAnh;
    private int maMauSac;
    private int maLoaiGiay;
    private int maTinhTrang;

    public GiayPOJO() {
//        Date d = new Date();
//        this.ngayThem = new Timestamp(d.getTime()); 
//        this.ngayCapNhat = new Timestamp(d.getTime());
    }

    public GiayPOJO(int maGiay, String tenGiay, int gioiTinh, float giaBan, int soLuong, String hinhAnh, int maMauSac, int maLoaiGiay) {
        this.maGiay = maGiay;
        this.tenGiay = tenGiay;
        this.gioiTinh = gioiTinh;
        this.giaBan = giaBan;
        this.soLuong = soLuong;
        this.hinhAnh = hinhAnh;
        this.maMauSac = maMauSac;
        this.maLoaiGiay = maLoaiGiay;
    }

    public float getGiaBan() {
        return giaBan;
    }

    public void setGiaBan(float giaBan) {
        this.giaBan = giaBan;
    }

    public int getGioiTinh() {
        return gioiTinh;
    }

    public void setGioiTinh(int gioiTinh) {
        this.gioiTinh = gioiTinh;
    }

    public String getHinhAnh() {
        return hinhAnh;
    }

    public void setHinhAnh(String hinhAnh) {
        this.hinhAnh = hinhAnh;
    }

    public int getMaGiay() {
        return maGiay;
    }

    public void setMaGiay(int maGiay) {
        this.maGiay = maGiay;
    }

    public int getMaLoaiGiay() {
        return maLoaiGiay;
    }

    public void setMaLoaiGiay(int maLoaiGiay) {
        this.maLoaiGiay = maLoaiGiay;
    }

    public int getMaMauSac() {
        return maMauSac;
    }

    public void setMaMauSac(int maMauSac) {
        this.maMauSac = maMauSac;
    }

    public int getSoLuong() {
        return soLuong;
    }

    public void setSoLuong(int soLuong) {
        this.soLuong = soLuong;
    }

    public String getTenGiay() {
        return tenGiay;
    }

    public void setTenGiay(String tenGiay) {
        this.tenGiay = tenGiay;
    }

    /**
     * @return the maTinhTrang
     */
    public int getMaTinhTrang() {
        return maTinhTrang;
    }

    /**
     * @param maTinhTrang the maTinhTrang to set
     */
    public void setMaTinhTrang(int maTinhTrang) {
        this.maTinhTrang = maTinhTrang;
    }
}
